package com.zhiwen.design.singleton;

/**
 * @Auther: wuzhiwen
 * @Date: 2018/11/30 10:34
 * @Description: 静态内部类实现
 */
public class Singleton05 {
    private Singleton05() {
    }

    private static class InnerObject{
        private static Singleton05 singleton05 = new Singleton05();
    }

    public static Singleton05 getSingleton05(){
        return InnerObject.singleton05;
    }
}
